﻿namespace Cos.Core.Attributes
{
    using System;
    using System.Data;

    public interface ITransactionAttribute
    {
        Propagation Propagation { get; set; }

        IsolationLevel IsolationLevel { get; set; }

        //int Timeout { get; set; }

        bool ReadOnly { get; set; }

        Type[] RollbackFor { get; set; }

        Type[] NoRollbackFor { get; set; }
    }
}
